
<table class="list">
<tr class="foot">
	<td colspan=7>
		<form method="get">
		<?php echo Html::options($protos, 'pro_id', fetch_request('pro_id','int'), 'pro_title', '--原型--', 'name="pro_id"'); ?>
		<input type="submit" value="搜索" />
		&nbsp; &nbsp;
		<input type="button" value="新建" onclick="location.href='<?php echo url('node-add/pid/')?>'+$('#pro_id').val()" />
		</form>
	</td>
</tr>
<tr class="head">
	<td><nobr>ID</td>
	<td><nobr>原型</td>
	<td><nobr>IMG</td>
	<td><nobr>标题</td>
	<td><nobr>描述</td>
	<td width='60'><nobr>新/荐/热</td>
	<td>-----</td>
</tr>
<?php if($nodes) foreach($nodes as $c){ ?>
<tr class="body">
	<td><?php echo $c['node_id'];?></td>
	<td><?php echo $c['pro_title'];?></td>
	<td><?php if($c['node_img']) echo '<img src="'.url_img(array_shift($c['node_img']), '121').'" />'; ?></td>
	<td><a href='<?php echo url('node-prev/id/'.$c['node_id'])?>'><?php echo $c['node_title']?></a></td>
	<td width='48%'><?php echo Html::write($c['node_desc'], 160);?></td>
	<td align="center"><?php echo "{$c['is_new']}/{$c['is_rcmd']}/{$c['is_hot']}";?></td>
	<td width='60'>
		<a href='<?php echo url('node-mod/id/'.$c['node_id'])?>'>编辑</a>
		<a href='<?php echo url('node-img/id/'.$c['node_id'])?>'>图片</a>
		删除
	</td>
</tr>
<?php } ?>
</table>
